/*
	File:		Message.h
	Course:		SGD 1303
	Author:		dmonroe
	Purpose:	CMessage class is the base class for game messages
*/


#pragma once

#include "../SGD Wrappers/IMessage.h"


//**************************************************
// Enumeration of Message Types
enum MsgType	{	};



//**************************************************
// CMessage class
//	- concrete base class implements all the pure virtual
//	  methods declared in the interface
//	- messages are queued in the Message System 
//	  and are processed by CGame each frame
//	- the base message can be used for any notification
//	  that does not store extra data
//	- child messages are used for any notification
//	  that does store extra data
class CMessage : public IMessage
{
public:
	//**********************************************
	CMessage( MsgType id )					{	m_eType = id;		}
	virtual ~CMessage( void )				{	/* do nothing */	}

	
	//**********************************************
	// IMessage Interface:
	virtual MSGID	GetMessageID( void )	{	return m_eType;		}


private:
	//**********************************************
	// message type identifier
	MsgType		m_eType;

};

